import request from '@/util/request'

const baseUrl = '' // http://localhost:7778

export function listAppPackage(data) {
  return request({
    url: baseUrl + '/app/package/list',
    method: 'post',
    data
  })
}

export function getAppPackage(data) {
  return request({
    url: baseUrl + '/app/package/get',
    method: 'post',
    data
  })
}

export function getNewestAppPackage(data) {
  return request({
    url: baseUrl + '/app/package/newest/get',
    method: 'post',
    data
  })
}

export function deleteAppPackageList(data) {
  return request({
    url: baseUrl + '/app/package/deleteList',
    method: 'post',
    data
  })
}

